<div class="users-form" id="form-fill">
<?php echo $this->Session->flash('auth'); ?>
<?php echo $this->Form->create('User',array('url'=>array('controller'=>'users','action'=>'login'))); ?>
    <fieldset>
        <legend>
            <?php echo __('Please enter your username and password'); ?>
        </legend>
        <?php 
         echo $this->Form->input('role', array('type'=>'hidden', 'value'=>'register'));
         echo $this->Form->input('username', array('class'=>'form-control'));
        echo $this->Form->input('password', array('class'=>'form-control'));
    ?>
    </fieldset>
<?php echo $this->Form->end(__('Login')); ?>

    <?php echo $this->Html->link(__('Forgot Password?'), array('controller' => 'posts', 'action' => 'forgotpws')); ?>
    <?php echo $this->Html->link(__('Create New Account?'), array('controller' => 'posts', 'action' => 'register')); ?>
</div>
